package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 *
 *
 * @author LGH
 * @date 2021-09-07 16:04:18
 */
@Data
@TableName("tz_stock_change_reason")
public class StockChangeReason implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long stockChangeReasonId;

    @Schema(description = "出入库类别，1：出库 2：入库" )
    @NotNull(message = "出入库类别不能为空")
    private Integer type;

    @Schema(description = "原因" )
    @TableField(exist=false)
    private String reason;

    @Schema(description = "店铺id" )
    private Long shopId;

    @Schema(description = "状态，1：启用 0：禁用" )
    private Integer status;

    @Schema(description = "备注" )
    @TableField(exist=false)
    private String remark;

    @Schema(description = "是否系统内置" )
    @TableField(exist=false)
    private Integer sysSet;

    @TableField(exist = false)
    @Schema(description = "国际化信息列表" )
    private List<StockChangeReasonLang> stockChangeReasonLangList;

}
